import 'package:get/get.dart';
import '../controllers/alert_logs_controller.dart';
import '../../../repositories/data_repository.dart';

class AlertLogsBinding extends Bindings {
  @override
  void dependencies() {
    // 确保DataRepository已注册
    if (!Get.isRegistered<DataRepository>()) {
      Get.put(DataRepository());
    }
    
    Get.lazyPut<AlertLogsController>(
      () => AlertLogsController(),
    );
  }
} 